#ifndef __STR_UTILS_H__
#define __STR_UTILS_H__

#include <tchar.h>
#include <string>

namespace MiniUI
{

class Unicode
{
public:
    static void WideStringToUTF8String(const wchar_t* in, size_t len, std::string& out);
    static void UTF8StringToWideString(const char* in, size_t len, std::wstring& out);
    static void UTF8Encode(const wchar_t* in, size_t len, std::string& out);
    static void UTF8Decode(const char* in, size_t len, std::wstring& out);
    static void UTF8Encode(const wchar_t* in, std::string& out);
    static void UTF8Decode(const char* in, std::wstring& out);
}; //Unicode

}

#endif